export default {
  setRequesting(state, flag) {
    state.requesting = flag;
  },
  setToken(state, data) {
    state.token = data;
  },
  setUserInfo(state, data) {
    state.userInfo = data;
  },
  setNaviItems(state, data) {
    state.naviItems = data;
  },
  setSelectedKeys(state, data) {
    state.selectedKeys = data;
  },
  setOpenKeys(state, data) {
    state.openKeys = data;
  },
  setOpenPages(state, data) {
    state.openPages = data;
  },
  setRolesRoutes(state, data) {
    state.rolesRoutes = data;
  },
  setschemeUser(state, data) {
    state.schemeUser = data;
  },
  setPluginList(state, list) {
    state.pluginList = list;
  },
  setBtnsPermissionList(state, list) {
    state.btnsPermissionList = list;
  },
  setBaseDocumentTabIndex(state, value) {
    state.baseDocumentTabIndex = value;
  },
  setDocumentActiveIndex(state, value) {
    state.documentActiveIndex = value;
  },
  setAge(state, age) {
    state.age = age;
  },
  setArchivesUserName(state, value) {
    state.archivesUserName = value;
  },
};
